package com.project.service.impl;

import com.project.bean.DiscussBean;
import com.project.mapper.IDiscussMapper;
import com.project.service.IDiscussService;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DiscussServiceImpl implements IDiscussService {
    @Autowired
   private IDiscussMapper mapper;


    @Override
    public void add(DiscussBean discussBean) {
        mapper.add(discussBean);
    }
}
